<html>
<head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
</head>
<body>
<?php
    if(isset($agent)){
        echo "<span>Thống kê</span><br>";
        echo "<table>
        <tr>
            <td>Browsers</td>
            <td>Totals</td>
        </tr>";
        foreach($agent as $item):
            $browser = $item['browser'];
            $totals = $item['totals'];
            echo "
            <tr>
                <td>$browser</td>
                <td>$totals</td>
            </tr>
            ";
        endforeach;
        echo "</table>";
    }
?>
Day la trang home!!!!!!!
<br>
    @2011
</body>
</html>
